<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Voro++: voro::voronoicell_base Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />



</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Voro++
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript" src="dynsections.js"></script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><b>voro</b>      </li>
      <li class="navelem"><a class="el" href="classvoro_1_1voronoicell__base.html">voronoicell_base</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Data Fields</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle">
<div class="title">voro::voronoicell_base Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="voro::voronoicell_base" -->
<p>A class representing a single Voronoi cell.  
 <a href="classvoro_1_1voronoicell__base.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="cell_8hh_source.html">cell.hh</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for voro::voronoicell_base:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
 <div class="center">
  <img src="classvoro_1_1voronoicell__base.png" usemap="#voro::voronoicell_base_map" alt=""/>
  <map id="voro::voronoicell_base_map" name="voro::voronoicell_base_map">
<area href="classvoro_1_1voronoicell.html" title="Extension of the voronoicell_base class to represent a Voronoi cell without neighbor information..." alt="voro::voronoicell" shape="rect" coords="0,56,164,80"/>
<area href="classvoro_1_1voronoicell__neighbor.html" title="Extension of the voronoicell_base class to represent a Voronoi cell with neighbor information..." alt="voro::voronoicell_neighbor" shape="rect" coords="174,56,338,80"/>
</map>
 </div></div>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#a83d13bf519c98bf0ea5804763ffc967d">voronoicell_base</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#ac959634a1ae2e3201e96624f44e7e71e">~voronoicell_base</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#a4c7f5406ba3beb1aa0d047592316c68d">init_base</a> (double xmin, double xmax, double ymin, double ymax, double zmin, double zmax)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#aab954caa57c67a26c03b0377f5778bb1">init_octahedron_base</a> (double l)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#ae71280e1c36c5f840f870d55e91c027b">init_tetrahedron_base</a> (double x0, double y0, double z0, double x1, double y1, double z1, double x2, double y2, double z2, double x3, double y3, double z3)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#ab2c8534b380907975eb60f3441d50e1e">translate</a> (double x, double y, double z)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#a923ffa62bd5d62070cd29e01f3a1327a">draw_pov</a> (double x, double y, double z, FILE *fp=stdout)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#a8138dc62fc6288c772b0483d0eb4eb96">draw_pov</a> (double x, double y, double z, const char *filename)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#a1b52986eadcea3b6b230626a6dbddc40">draw_pov_mesh</a> (double x, double y, double z, FILE *fp=stdout)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#ac572b3e8ed428c12f38243b48bf39099">draw_pov_mesh</a> (double x, double y, double z, const char *filename)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#a1c0657c1d89313089bbd437170c97d46">draw_gnuplot</a> (double x, double y, double z, FILE *fp=stdout)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#ac7cb75aa645c98107c9c0162fabf698e">draw_gnuplot</a> (double x, double y, double z, const char *filename)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#a92f69986a6f78e7b8b6d9f5778ed99ba">volume</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#a6a29a361a158db038a5c4c8e47322bd5">max_radius_squared</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#a94fc0aba05c11fba465449bc1c4217e9">total_edge_distance</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#af1a68eea414a0a52b072005af7bd710a">surface_area</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#a7ea57c92bba3110da745381c5877cec3">centroid</a> (double &amp;cx, double &amp;cy, double &amp;cz)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#a56b835abe6d47cb67b206202125eb406">number_of_faces</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#a5dbd3cd4e9e9a41744e1a2a4c8f550c0">number_of_edges</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#aa900514b399297edb7dfc430f92716b9">vertex_orders</a> (vector&lt; int &gt; &amp;v)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#af92d19d0e7fc07006bcd8ea30c9df447">output_vertex_orders</a> (FILE *fp=stdout)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#afd699f0ae6578788dac0d427efa3ad44">vertices</a> (vector&lt; double &gt; &amp;v)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#aee879731b1f4feb9f630d9b7f9c0062f">output_vertices</a> (FILE *fp=stdout)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#a32e9aef70e601984105d6929543dc681">vertices</a> (double x, double y, double z, vector&lt; double &gt; &amp;v)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#aec32739bb3f9393f4ddc33d90796d494">output_vertices</a> (double x, double y, double z, FILE *fp=stdout)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#a5e2628315bfb924f7013c3efee689d72">face_areas</a> (vector&lt; double &gt; &amp;v)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#a0492ecd057449172ca6d3993cb0661e4">output_face_areas</a> (FILE *fp=stdout)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#a063f2915b13c389e36f8eaf462b0f277">face_orders</a> (vector&lt; int &gt; &amp;v)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#ad14069d3bebcda9353b07488f512800d">output_face_orders</a> (FILE *fp=stdout)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#aef9b1ec41af3f118ce1da310f85c043b">face_freq_table</a> (vector&lt; int &gt; &amp;v)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#a38929ec0787bb1acac5f1f7b9ec7cadf">output_face_freq_table</a> (FILE *fp=stdout)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#a955288d82dfe6c2d567b1cfb906aa419">face_vertices</a> (vector&lt; int &gt; &amp;v)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#a67d6682dd62b76162f83822a17de6fe5">output_face_vertices</a> (FILE *fp=stdout)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#aca984813e3a98a75d2e280fafca519da">face_perimeters</a> (vector&lt; double &gt; &amp;v)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#a5dc3ae580a5f25424d50d4015aa878ba">output_face_perimeters</a> (FILE *fp=stdout)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#a203881f2c90c18ca4ffd7ac0d8b8a61c">normals</a> (vector&lt; double &gt; &amp;v)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#aae096d26d957c3e5b0f02b20d493a3ff">output_normals</a> (FILE *fp=stdout)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#a095c6bfc1b9b7a087d0b35b443e5c023">output_custom</a> (const char *format, FILE *fp=stdout)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#ab6b8ff237f7b3e318c3756cd38586ec4">output_custom</a> (const char *format, int i, double x, double y, double z, double r, FILE *fp=stdout)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class vc_class &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#a079bc593542ae5d06a9a217212435466">nplane</a> (vc_class &amp;vc, double x, double y, double z, double rs, int p_id)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#aa2af8698ba5f2eefc14300f2ea1f6601">plane_intersects</a> (double x, double y, double z, double rs)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#a7ae7bf3f6bc1869d40e62a9d46b14b46">plane_intersects_guess</a> (double x, double y, double z, double rs)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#af49d85cd2a3daf84d623ab09ab7037cf">construct_relations</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#ae7bb21f644a45946001beef598a1da1f">check_relations</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#a3f6c0b98feb914c324248cd3d3baf43d">check_duplicates</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#a8a7e29d041abbd58406e2c05a9a6248a">print_edges</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#a5d52bea0312e95ed77b82aeca10824b1">neighbors</a> (vector&lt; int &gt; &amp;v)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#a99837f8d963c57c2c244518ba0ae4b8f">output_neighbors</a> (FILE *fp=stdout)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#ac164b3767ce186360fb3308e349e058c">print_edges_neighbors</a> (int i)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#a1d86762311d8860960a45cc409b14f0f">cycle_up</a> (int a, int <a class="el" href="classvoro_1_1voronoicell__base.html#a7e69469f95464afbeb9feec927507243">p</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#adfccfa7dce395277535f61f780d87c8b">cycle_down</a> (int a, int <a class="el" href="classvoro_1_1voronoicell__base.html#a7e69469f95464afbeb9feec927507243">p</a>)</td></tr>
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#ab0b624e4e72fca14c99bf1c41c430614">current_vertices</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#a14c97918200da778388673728da29274">current_vertex_order</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#a7dbec3b0b6ea24e22e651cf76f06dc04">current_delete_size</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#a2a238c710c2e91045ef9deae0faf8dc9">current_delete2_size</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#a7e69469f95464afbeb9feec927507243">p</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#a7746d94ae036439d60c3e4a9e37f6d15">up</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int **&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#a85fec05865342d7efca9d9fd11b60342">ed</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#abc7ec6777725e0ddffbbe2ecbe81c6a1">nu</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#aa4e3f22d4ff450097571e95caeda1b3d">pts</a></td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#a5d09c9e36ad159fcd23cfef8855cae61">reset_edges</a> ()</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class vc_class &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#af2c9d916f946ba8d9c7e4c0a7e65215b">check_memory_for_copy</a> (vc_class &amp;vc, <a class="el" href="classvoro_1_1voronoicell__base.html">voronoicell_base</a> *vb)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#a47d450e9b9be0fab103f401ddcaeefac">copy</a> (<a class="el" href="classvoro_1_1voronoicell__base.html">voronoicell_base</a> *vb)</td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#aafad86ca11af64de2788637b466479f6">mem</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#accebb51f721d72fc6d460f1368180571">mec</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int **&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvoro_1_1voronoicell__base.html#a2b115cbde725e468000a1da234b2fc66">mep</a></td></tr>
<tr><td colspan="2"><h2><a name="friends"></a>
Friends</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a85309950568779a7e68089f34fdace12"></a><!-- doxytag: member="voro::voronoicell_base::voronoicell" ref="a85309950568779a7e68089f34fdace12" args="" -->
class&#160;</td><td class="memItemRight" valign="bottom"><b>voronoicell</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acf08adbb46393002b1d9c817131de822"></a><!-- doxytag: member="voro::voronoicell_base::voronoicell_neighbor" ref="acf08adbb46393002b1d9c817131de822" args="" -->
class&#160;</td><td class="memItemRight" valign="bottom"><b>voronoicell_neighbor</b></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>This class represents a single Voronoi cell, as a collection of vertices that are connected by edges. The class contains routines for initializing the Voronoi cell to be simple shapes such as a box, tetrahedron, or octahedron. It the contains routines for recomputing the cell based on cutting it by a plane, which forms the key routine for the Voronoi cell computation. It contains numerous routine for computing statistics about the Voronoi cell, and it can output the cell in several formats.</p>
<p>This class is not intended for direct use, but forms the base of the voronoicell and <a class="el" href="classvoro_1_1voronoicell__neighbor.html" title="Extension of the voronoicell_base class to represent a Voronoi cell with neighbor information...">voronoicell_neighbor</a> classes, which extend it based on whether neighboring particle ID information needs to be tracked. </p>

<p>Definition at line <a class="el" href="cell_8hh_source.html#l00037">37</a> of file <a class="el" href="cell_8hh_source.html">cell.hh</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a83d13bf519c98bf0ea5804763ffc967d"></a><!-- doxytag: member="voro::voronoicell_base::voronoicell_base" ref="a83d13bf519c98bf0ea5804763ffc967d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">voro::voronoicell_base::voronoicell_base </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Constructs a Voronoi cell and sets up the initial memory. </p>

<p>Definition at line <a class="el" href="cell_8cc_source.html#l00020">20</a> of file <a class="el" href="cell_8cc_source.html">cell.cc</a>.</p>

</div>
</div>
<a class="anchor" id="ac959634a1ae2e3201e96624f44e7e71e"></a><!-- doxytag: member="voro::voronoicell_base::~voronoicell_base" ref="ac959634a1ae2e3201e96624f44e7e71e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">voro::voronoicell_base::~voronoicell_base </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>The voronoicell destructor deallocates all the dynamic memory. </p>

<p>Definition at line <a class="el" href="cell_8cc_source.html#l00043">43</a> of file <a class="el" href="cell_8cc_source.html">cell.cc</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a7ea57c92bba3110da745381c5877cec3"></a><!-- doxytag: member="voro::voronoicell_base::centroid" ref="a7ea57c92bba3110da745381c5877cec3" args="(double &amp;cx, double &amp;cy, double &amp;cz)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::voronoicell_base::centroid </td>
          <td>(</td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>cx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>cy</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>cz</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Calculates the centroid of the Voronoi cell, by decomposing the cell into tetrahedra extending outward from the zeroth vertex. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">(cx,cy,cz)</td><td>references to floating point numbers in which to pass back the centroid vector. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="cell_8cc_source.html#l01406">1406</a> of file <a class="el" href="cell_8cc_source.html">cell.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a3f6c0b98feb914c324248cd3d3baf43d"></a><!-- doxytag: member="voro::voronoicell_base::check_duplicates" ref="a3f6c0b98feb914c324248cd3d3baf43d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::voronoicell_base::check_duplicates </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This routine checks for any two vertices that are connected by more than one edge. The plane algorithm is designed so that this should not happen, so any occurrences are most likely errors. Note that the routine is O(p), so running it every time the plane routine is called will result in a significant slowdown. </p>

<p>Definition at line <a class="el" href="cell_8cc_source.html#l00342">342</a> of file <a class="el" href="cell_8cc_source.html">cell.cc</a>.</p>

</div>
</div>
<a class="anchor" id="af2c9d916f946ba8d9c7e4c0a7e65215b"></a><!-- doxytag: member="voro::voronoicell_base::check_memory_for_copy" ref="af2c9d916f946ba8d9c7e4c0a7e65215b" args="(vc_class &amp;vc, voronoicell_base *vb)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class vc_class &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">template void voro::voronoicell_base::check_memory_for_copy </td>
          <td>(</td>
          <td class="paramtype">vc_class &amp;&#160;</td>
          <td class="paramname"><em>vc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classvoro_1_1voronoicell__base.html">voronoicell_base</a> *&#160;</td>
          <td class="paramname"><em>vb</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Ensures that enough memory is allocated prior to carrying out a copy. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">vc</td><td>a reference to the specialized version of the calling class. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">vb</td><td>a pointered to the class to be copied. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="cell_8cc_source.html#l00056">56</a> of file <a class="el" href="cell_8cc_source.html">cell.cc</a>.</p>

</div>
</div>
<a class="anchor" id="ae7bb21f644a45946001beef598a1da1f"></a><!-- doxytag: member="voro::voronoicell_base::check_relations" ref="ae7bb21f644a45946001beef598a1da1f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::voronoicell_base::check_relations </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Checks that the relational table of the Voronoi cell is accurate, and prints out any errors. This algorithm is O(p), so running it every time the plane routine is called will result in a significant slowdown. </p>

<p>Definition at line <a class="el" href="cell_8cc_source.html#l00331">331</a> of file <a class="el" href="cell_8cc_source.html">cell.cc</a>.</p>

</div>
</div>
<a class="anchor" id="af49d85cd2a3daf84d623ab09ab7037cf"></a><!-- doxytag: member="voro::voronoicell_base::construct_relations" ref="af49d85cd2a3daf84d623ab09ab7037cf" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::voronoicell_base::construct_relations </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Constructs the relational table if the edges have been specified. </p>

<p>Definition at line <a class="el" href="cell_8cc_source.html#l00349">349</a> of file <a class="el" href="cell_8cc_source.html">cell.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a47d450e9b9be0fab103f401ddcaeefac"></a><!-- doxytag: member="voro::voronoicell_base::copy" ref="a47d450e9b9be0fab103f401ddcaeefac" args="(voronoicell_base *vb)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::voronoicell_base::copy </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classvoro_1_1voronoicell__base.html">voronoicell_base</a> *&#160;</td>
          <td class="paramname"><em>vb</em></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Copies the vertex and edge information from another class. The routine assumes that enough memory is available for the copy. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">vb</td><td>a pointer to the class to copy. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="cell_8cc_source.html#l00065">65</a> of file <a class="el" href="cell_8cc_source.html">cell.cc</a>.</p>

</div>
</div>
<a class="anchor" id="adfccfa7dce395277535f61f780d87c8b"></a><!-- doxytag: member="voro::voronoicell_base::cycle_down" ref="adfccfa7dce395277535f61f780d87c8b" args="(int a, int p)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int voro::voronoicell_base::cycle_down </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>p</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This is a simple inline function for picking out the index of the next edge clockwise from the current vertex. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">a</td><td>the index of an edge of the current vertex. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">p</td><td>the number of the vertex. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>nu[p]-1 if a=0, or a-1 otherwise. </dd></dl>

<p>Definition at line <a class="el" href="cell_8hh_source.html#l00225">225</a> of file <a class="el" href="cell_8hh_source.html">cell.hh</a>.</p>

</div>
</div>
<a class="anchor" id="a1d86762311d8860960a45cc409b14f0f"></a><!-- doxytag: member="voro::voronoicell_base::cycle_up" ref="a1d86762311d8860960a45cc409b14f0f" args="(int a, int p)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int voro::voronoicell_base::cycle_up </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>p</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This is a simple inline function for picking out the index of the next edge counterclockwise at the current vertex. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">a</td><td>the index of an edge of the current vertex. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">p</td><td>the number of the vertex. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>0 if a=nu[p]-1, or a+1 otherwise. </dd></dl>

<p>Definition at line <a class="el" href="cell_8hh_source.html#l00219">219</a> of file <a class="el" href="cell_8hh_source.html">cell.hh</a>.</p>

</div>
</div>
<a class="anchor" id="a1c0657c1d89313089bbd437170c97d46"></a><!-- doxytag: member="voro::voronoicell_base::draw_gnuplot" ref="a1c0657c1d89313089bbd437170c97d46" args="(double x, double y, double z, FILE *fp=stdout)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::voronoicell_base::draw_gnuplot </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>fp</em> = <code>stdout</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Outputs the edges of the Voronoi cell in gnuplot format to an output stream. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">(x,y,z)</td><td>a displacement vector to be added to the cell's position. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">fp</td><td>a file handle to write to. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="cell_8cc_source.html#l01505">1505</a> of file <a class="el" href="cell_8cc_source.html">cell.cc</a>.</p>

</div>
</div>
<a class="anchor" id="ac7cb75aa645c98107c9c0162fabf698e"></a><!-- doxytag: member="voro::voronoicell_base::draw_gnuplot" ref="ac7cb75aa645c98107c9c0162fabf698e" args="(double x, double y, double z, const char *filename)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::voronoicell_base::draw_gnuplot </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>filename</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Outputs the cell in Gnuplot format a given file. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">(x,y,z)</td><td>a displacement to add to the cell's position. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">filename</td><td>the name of the file to write to. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="cell_8hh_source.html#l00123">123</a> of file <a class="el" href="cell_8hh_source.html">cell.hh</a>.</p>

</div>
</div>
<a class="anchor" id="a923ffa62bd5d62070cd29e01f3a1327a"></a><!-- doxytag: member="voro::voronoicell_base::draw_pov" ref="a923ffa62bd5d62070cd29e01f3a1327a" args="(double x, double y, double z, FILE *fp=stdout)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::voronoicell_base::draw_pov </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>fp</em> = <code>stdout</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Outputs the edges of the Voronoi cell in POV-Ray format to an open file stream, displacing the cell by given vector. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">(x,y,z)</td><td>a displacement vector to be added to the cell's position. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">fp</td><td>a file handle to write to. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="cell_8cc_source.html#l01485">1485</a> of file <a class="el" href="cell_8cc_source.html">cell.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a8138dc62fc6288c772b0483d0eb4eb96"></a><!-- doxytag: member="voro::voronoicell_base::draw_pov" ref="a8138dc62fc6288c772b0483d0eb4eb96" args="(double x, double y, double z, const char *filename)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::voronoicell_base::draw_pov </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>filename</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Outputs the cell in POV-Ray format, using cylinders for edges and spheres for vertices, to a given file. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">(x,y,z)</td><td>a displacement to add to the cell's position. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">filename</td><td>the name of the file to write to. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="cell_8hh_source.html#l00102">102</a> of file <a class="el" href="cell_8hh_source.html">cell.hh</a>.</p>

</div>
</div>
<a class="anchor" id="a1b52986eadcea3b6b230626a6dbddc40"></a><!-- doxytag: member="voro::voronoicell_base::draw_pov_mesh" ref="a1b52986eadcea3b6b230626a6dbddc40" args="(double x, double y, double z, FILE *fp=stdout)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::voronoicell_base::draw_pov_mesh </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>fp</em> = <code>stdout</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Outputs the Voronoi cell in the POV mesh2 format, described in section 1.3.2.2 of the POV-Ray documentation. The mesh2 output consists of a list of vertex vectors, followed by a list of triangular faces. The routine also makes use of the optional inside_vector specification, which makes the mesh object solid, so the the POV-Ray Constructive Solid Geometry (CSG) can be applied. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">(x,y,z)</td><td>a displacement vector to be added to the cell's position. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">fp</td><td>a file handle to write to. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="cell_8cc_source.html#l01540">1540</a> of file <a class="el" href="cell_8cc_source.html">cell.cc</a>.</p>

</div>
</div>
<a class="anchor" id="ac572b3e8ed428c12f38243b48bf39099"></a><!-- doxytag: member="voro::voronoicell_base::draw_pov_mesh" ref="ac572b3e8ed428c12f38243b48bf39099" args="(double x, double y, double z, const char *filename)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::voronoicell_base::draw_pov_mesh </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>filename</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Outputs the cell in POV-Ray format as a mesh2 object to a given file. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">(x,y,z)</td><td>a displacement to add to the cell's position. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">filename</td><td>the name of the file to write to. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="cell_8hh_source.html#l00113">113</a> of file <a class="el" href="cell_8hh_source.html">cell.hh</a>.</p>

</div>
</div>
<a class="anchor" id="a5e2628315bfb924f7013c3efee689d72"></a><!-- doxytag: member="voro::voronoicell_base::face_areas" ref="a5e2628315bfb924f7013c3efee689d72" args="(vector&lt; double &gt; &amp;v)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::voronoicell_base::face_areas </td>
          <td>(</td>
          <td class="paramtype">vector&lt; double &gt; &amp;&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Calculates the areas of each face of the Voronoi cell and prints the results to an output stream. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">v</td><td>the vector to store the results in. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="cell_8cc_source.html#l01334">1334</a> of file <a class="el" href="cell_8cc_source.html">cell.cc</a>.</p>

</div>
</div>
<a class="anchor" id="aef9b1ec41af3f118ce1da310f85c043b"></a><!-- doxytag: member="voro::voronoicell_base::face_freq_table" ref="aef9b1ec41af3f118ce1da310f85c043b" args="(vector&lt; int &gt; &amp;v)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::voronoicell_base::face_freq_table </td>
          <td>(</td>
          <td class="paramtype">vector&lt; int &gt; &amp;&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Computes the number of edges that each face has and outputs a frequency table of the results. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">v</td><td>the vector to store the results in. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="cell_8cc_source.html#l01889">1889</a> of file <a class="el" href="cell_8cc_source.html">cell.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a063f2915b13c389e36f8eaf462b0f277"></a><!-- doxytag: member="voro::voronoicell_base::face_orders" ref="a063f2915b13c389e36f8eaf462b0f277" args="(vector&lt; int &gt; &amp;v)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::voronoicell_base::face_orders </td>
          <td>(</td>
          <td class="paramtype">vector&lt; int &gt; &amp;&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Outputs a list of the number of edges in each face. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">v</td><td>the vector to store the results in. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="cell_8cc_source.html#l01864">1864</a> of file <a class="el" href="cell_8cc_source.html">cell.cc</a>.</p>

</div>
</div>
<a class="anchor" id="aca984813e3a98a75d2e280fafca519da"></a><!-- doxytag: member="voro::voronoicell_base::face_perimeters" ref="aca984813e3a98a75d2e280fafca519da" args="(vector&lt; double &gt; &amp;v)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::voronoicell_base::face_perimeters </td>
          <td>(</td>
          <td class="paramtype">vector&lt; double &gt; &amp;&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This routine returns the perimeters of each face. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">v</td><td>the vector to store the results in. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="cell_8cc_source.html#l01805">1805</a> of file <a class="el" href="cell_8cc_source.html">cell.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a955288d82dfe6c2d567b1cfb906aa419"></a><!-- doxytag: member="voro::voronoicell_base::face_vertices" ref="a955288d82dfe6c2d567b1cfb906aa419" args="(vector&lt; int &gt; &amp;v)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::voronoicell_base::face_vertices </td>
          <td>(</td>
          <td class="paramtype">vector&lt; int &gt; &amp;&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>For each face, this routine outputs a bracketed sequence of numbers containing a list of all the vertices that make up that face. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">v</td><td>the vector to store the results in. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="cell_8cc_source.html#l01837">1837</a> of file <a class="el" href="cell_8cc_source.html">cell.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a4c7f5406ba3beb1aa0d047592316c68d"></a><!-- doxytag: member="voro::voronoicell_base::init_base" ref="a4c7f5406ba3beb1aa0d047592316c68d" args="(double xmin, double xmax, double ymin, double ymax, double zmin, double zmax)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::voronoicell_base::init_base </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>xmin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>xmax</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>ymin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>ymax</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>zmin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>zmax</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Initializes a Voronoi cell as a rectangular box with the given dimensions. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">(xmin,xmax)</td><td>the minimum and maximum x coordinates. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">(ymin,ymax)</td><td>the minimum and maximum y coordinates. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">(zmin,zmax)</td><td>the minimum and maximum z coordinates. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="cell_8cc_source.html#l00257">257</a> of file <a class="el" href="cell_8cc_source.html">cell.cc</a>.</p>

</div>
</div>
<a class="anchor" id="aab954caa57c67a26c03b0377f5778bb1"></a><!-- doxytag: member="voro::voronoicell_base::init_octahedron_base" ref="aab954caa57c67a26c03b0377f5778bb1" args="(double l)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::voronoicell_base::init_octahedron_base </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>l</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Initializes a Voronoi cell as a regular octahedron. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">l</td><td>The distance from the octahedron center to a vertex. Six vertices are initialized at (-l,0,0), (l,0,0), (0,-l,0), (0,l,0), (0,0,-l), and (0,0,l). </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="cell_8cc_source.html#l00286">286</a> of file <a class="el" href="cell_8cc_source.html">cell.cc</a>.</p>

</div>
</div>
<a class="anchor" id="ae71280e1c36c5f840f870d55e91c027b"></a><!-- doxytag: member="voro::voronoicell_base::init_tetrahedron_base" ref="ae71280e1c36c5f840f870d55e91c027b" args="(double x0, double y0, double z0, double x1, double y1, double z1, double x2, double y2, double z2, double x3, double y3, double z3)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::voronoicell_base::init_tetrahedron_base </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>z0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>z1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>z2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x3</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y3</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>z3</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Initializes a Voronoi cell as a tetrahedron. It assumes that the normal to the face for the first three vertices points inside. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">(x0,y0,z0)</td><td>a position vector for the first vertex. </td></tr>
    <tr><td class="paramname">(x1,y1,z1)</td><td>a position vector for the second vertex. </td></tr>
    <tr><td class="paramname">(x2,y2,z2)</td><td>a position vector for the third vertex. </td></tr>
    <tr><td class="paramname">(x3,y3,z3)</td><td>a position vector for the fourth vertex. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="cell_8cc_source.html#l00312">312</a> of file <a class="el" href="cell_8cc_source.html">cell.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a6a29a361a158db038a5c4c8e47322bd5"></a><!-- doxytag: member="voro::voronoicell_base::max_radius_squared" ref="a6a29a361a158db038a5c4c8e47322bd5" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double voro::voronoicell_base::max_radius_squared </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Computes the maximum radius squared of a vertex from the center of the cell. It can be used to determine when enough particles have been testing an all planes that could cut the cell have been considered. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The maximum radius squared of a vertex. </dd></dl>

<p>Definition at line <a class="el" href="cell_8cc_source.html#l01452">1452</a> of file <a class="el" href="cell_8cc_source.html">cell.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a5d52bea0312e95ed77b82aeca10824b1"></a><!-- doxytag: member="voro::voronoicell_base::neighbors" ref="a5d52bea0312e95ed77b82aeca10824b1" args="(vector&lt; int &gt; &amp;v)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void voro::voronoicell_base::neighbors </td>
          <td>(</td>
          <td class="paramtype">vector&lt; int &gt; &amp;&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns a list of IDs of neighboring particles corresponding to each face. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">v</td><td>a reference to a vector in which to return the results. If no neighbor information is available, a blank vector is returned. </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented in <a class="el" href="classvoro_1_1voronoicell__neighbor.html#a1583bda821b719b59a49a5a31d708497">voro::voronoicell_neighbor</a>.</p>

<p>Definition at line <a class="el" href="cell_8hh_source.html#l00201">201</a> of file <a class="el" href="cell_8hh_source.html">cell.hh</a>.</p>

</div>
</div>
<a class="anchor" id="a203881f2c90c18ca4ffd7ac0d8b8a61c"></a><!-- doxytag: member="voro::voronoicell_base::normals" ref="a203881f2c90c18ca4ffd7ac0d8b8a61c" args="(vector&lt; double &gt; &amp;v)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::voronoicell_base::normals </td>
          <td>(</td>
          <td class="paramtype">vector&lt; double &gt; &amp;&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>For each face of the Voronoi cell, this routine prints the out the normal vector of the face, and scales it to the distance from the cell center to that plane. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">v</td><td>the vector to store the results in. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="cell_8cc_source.html#l01637">1637</a> of file <a class="el" href="cell_8cc_source.html">cell.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a079bc593542ae5d06a9a217212435466"></a><!-- doxytag: member="voro::voronoicell_base::nplane" ref="a079bc593542ae5d06a9a217212435466" args="(vc_class &amp;vc, double x, double y, double z, double rs, int p_id)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class vc_class &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool voro::voronoicell_base::nplane </td>
          <td>(</td>
          <td class="paramtype">vc_class &amp;&#160;</td>
          <td class="paramname"><em>vc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>rsq</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>p_id</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Cuts the Voronoi cell by a particle whose center is at a separation of (x,y,z) from the cell center. The value of rsq should be initially set to <img class="formulaInl" alt="$x^2+y^2+z^2$" src="form_0.png"/>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">vc</td><td>a reference to the specialized version of the calling class. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">(x,y,z)</td><td>the normal vector to the plane. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">rsq</td><td>the distance along this vector of the plane. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">p_id</td><td>the plane ID (for neighbor tracking only). </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>False if the plane cut deleted the cell entirely, true otherwise. </dd></dl>

<p>Definition at line <a class="el" href="cell_8cc_source.html#l00404">404</a> of file <a class="el" href="cell_8cc_source.html">cell.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a5dbd3cd4e9e9a41744e1a2a4c8f550c0"></a><!-- doxytag: member="voro::voronoicell_base::number_of_edges" ref="a5dbd3cd4e9e9a41744e1a2a4c8f550c0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int voro::voronoicell_base::number_of_edges </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Counts the number of edges of the Voronoi cell. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the number of edges. </dd></dl>

<p>Definition at line <a class="el" href="cell_8cc_source.html#l02005">2005</a> of file <a class="el" href="cell_8cc_source.html">cell.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a56b835abe6d47cb67b206202125eb406"></a><!-- doxytag: member="voro::voronoicell_base::number_of_faces" ref="a56b835abe6d47cb67b206202125eb406" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int voro::voronoicell_base::number_of_faces </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the number of faces of a computed Voronoi cell. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The number of faces. </dd></dl>

<p>Definition at line <a class="el" href="cell_8cc_source.html#l01719">1719</a> of file <a class="el" href="cell_8cc_source.html">cell.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a095c6bfc1b9b7a087d0b35b443e5c023"></a><!-- doxytag: member="voro::voronoicell_base::output_custom" ref="a095c6bfc1b9b7a087d0b35b443e5c023" args="(const char *format, FILE *fp=stdout)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::voronoicell_base::output_custom </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>format</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>fp</em> = <code>stdout</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Outputs a custom string of information about the Voronoi cell to a file. It assumes the cell is at (0,0,0) and has a the default_radius associated with it. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">format</td><td>the custom format string to use. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">fp</td><td>the file handle to write to. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="cell_8hh_source.html#l00186">186</a> of file <a class="el" href="cell_8hh_source.html">cell.hh</a>.</p>

</div>
</div>
<a class="anchor" id="ab6b8ff237f7b3e318c3756cd38586ec4"></a><!-- doxytag: member="voro::voronoicell_base::output_custom" ref="ab6b8ff237f7b3e318c3756cd38586ec4" args="(const char *format, int i, double x, double y, double z, double r, FILE *fp=stdout)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::voronoicell_base::output_custom </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>format</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>i</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>fp</em> = <code>stdout</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Outputs a custom string of information about the Voronoi cell. The string of information follows a similar style as the C printf command, and detailed information about its format is available at <a href="http://math.lbl.gov/voro++/doc/custom.html.">http://math.lbl.gov/voro++/doc/custom.html.</a> </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">format</td><td>the custom string to print. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">i</td><td>the ID of the particle associated with this Voronoi cell. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">(x,y,z)</td><td>the position of the particle associated with this Voronoi cell. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">r</td><td>a radius associated with the particle. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">fp</td><td>the file handle to write to. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="cell_8cc_source.html#l02021">2021</a> of file <a class="el" href="cell_8cc_source.html">cell.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a0492ecd057449172ca6d3993cb0661e4"></a><!-- doxytag: member="voro::voronoicell_base::output_face_areas" ref="a0492ecd057449172ca6d3993cb0661e4" args="(FILE *fp=stdout)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::voronoicell_base::output_face_areas </td>
          <td>(</td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>fp</em> = <code>stdout</code></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Outputs the areas of the faces. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">fp</td><td>the file handle to write to. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="cell_8hh_source.html#l00144">144</a> of file <a class="el" href="cell_8hh_source.html">cell.hh</a>.</p>

</div>
</div>
<a class="anchor" id="a38929ec0787bb1acac5f1f7b9ec7cadf"></a><!-- doxytag: member="voro::voronoicell_base::output_face_freq_table" ref="a38929ec0787bb1acac5f1f7b9ec7cadf" args="(FILE *fp=stdout)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::voronoicell_base::output_face_freq_table </td>
          <td>(</td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>fp</em> = <code>stdout</code></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Outputs a </p>

<p>Definition at line <a class="el" href="cell_8hh_source.html#l00157">157</a> of file <a class="el" href="cell_8hh_source.html">cell.hh</a>.</p>

</div>
</div>
<a class="anchor" id="ad14069d3bebcda9353b07488f512800d"></a><!-- doxytag: member="voro::voronoicell_base::output_face_orders" ref="ad14069d3bebcda9353b07488f512800d" args="(FILE *fp=stdout)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::voronoicell_base::output_face_orders </td>
          <td>(</td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>fp</em> = <code>stdout</code></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Outputs a list of the number of sides of each face. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">fp</td><td>the file handle to write to. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="cell_8hh_source.html#l00151">151</a> of file <a class="el" href="cell_8hh_source.html">cell.hh</a>.</p>

</div>
</div>
<a class="anchor" id="a5dc3ae580a5f25424d50d4015aa878ba"></a><!-- doxytag: member="voro::voronoicell_base::output_face_perimeters" ref="a5dc3ae580a5f25424d50d4015aa878ba" args="(FILE *fp=stdout)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::voronoicell_base::output_face_perimeters </td>
          <td>(</td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>fp</em> = <code>stdout</code></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Outputs a list of the perimeters of each face. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">fp</td><td>the file handle to write to. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="cell_8hh_source.html#l00170">170</a> of file <a class="el" href="cell_8hh_source.html">cell.hh</a>.</p>

</div>
</div>
<a class="anchor" id="a67d6682dd62b76162f83822a17de6fe5"></a><!-- doxytag: member="voro::voronoicell_base::output_face_vertices" ref="a67d6682dd62b76162f83822a17de6fe5" args="(FILE *fp=stdout)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::voronoicell_base::output_face_vertices </td>
          <td>(</td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>fp</em> = <code>stdout</code></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Outputs the </p>

<p>Definition at line <a class="el" href="cell_8hh_source.html#l00163">163</a> of file <a class="el" href="cell_8hh_source.html">cell.hh</a>.</p>

</div>
</div>
<a class="anchor" id="a99837f8d963c57c2c244518ba0ae4b8f"></a><!-- doxytag: member="voro::voronoicell_base::output_neighbors" ref="a99837f8d963c57c2c244518ba0ae4b8f" args="(FILE *fp=stdout)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void voro::voronoicell_base::output_neighbors </td>
          <td>(</td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>fp</em> = <code>stdout</code></td><td>)</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This is a virtual function that is overridden by a routine to print a list of IDs of neighboring particles corresponding to each face. By default, when no neighbor information is available, the routine does nothing. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">fp</td><td>the file handle to write to. </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented in <a class="el" href="classvoro_1_1voronoicell__neighbor.html#a2b212f8abaf92200e8ee4b5eee0e60d1">voro::voronoicell_neighbor</a>.</p>

<p>Definition at line <a class="el" href="cell_8hh_source.html#l00207">207</a> of file <a class="el" href="cell_8hh_source.html">cell.hh</a>.</p>

</div>
</div>
<a class="anchor" id="aae096d26d957c3e5b0f02b20d493a3ff"></a><!-- doxytag: member="voro::voronoicell_base::output_normals" ref="aae096d26d957c3e5b0f02b20d493a3ff" args="(FILE *fp=stdout)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::voronoicell_base::output_normals </td>
          <td>(</td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>fp</em> = <code>stdout</code></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Outputs a list of the perimeters of each face. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">fp</td><td>the file handle to write to. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="cell_8hh_source.html#l00177">177</a> of file <a class="el" href="cell_8hh_source.html">cell.hh</a>.</p>

</div>
</div>
<a class="anchor" id="af92d19d0e7fc07006bcd8ea30c9df447"></a><!-- doxytag: member="voro::voronoicell_base::output_vertex_orders" ref="af92d19d0e7fc07006bcd8ea30c9df447" args="(FILE *fp=stdout)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::voronoicell_base::output_vertex_orders </td>
          <td>(</td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>fp</em> = <code>stdout</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Outputs the vertex orders. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">fp</td><td>the file handle to write to. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="cell_8cc_source.html#l01749">1749</a> of file <a class="el" href="cell_8cc_source.html">cell.cc</a>.</p>

</div>
</div>
<a class="anchor" id="aee879731b1f4feb9f630d9b7f9c0062f"></a><!-- doxytag: member="voro::voronoicell_base::output_vertices" ref="aee879731b1f4feb9f630d9b7f9c0062f" args="(FILE *fp=stdout)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::voronoicell_base::output_vertices </td>
          <td>(</td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>fp</em> = <code>stdout</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Outputs the vertex vectors using the local coordinate system. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">fp</td><td>the file handle to write to. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="cell_8cc_source.html#l01770">1770</a> of file <a class="el" href="cell_8cc_source.html">cell.cc</a>.</p>

</div>
</div>
<a class="anchor" id="aec32739bb3f9393f4ddc33d90796d494"></a><!-- doxytag: member="voro::voronoicell_base::output_vertices" ref="aec32739bb3f9393f4ddc33d90796d494" args="(double x, double y, double z, FILE *fp=stdout)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::voronoicell_base::output_vertices </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>fp</em> = <code>stdout</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Outputs the vertex vectors using the global coordinate system. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">fp</td><td>the file handle to write to. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">(x,y,z)</td><td>the position vector of the particle in the global coordinate system. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="cell_8cc_source.html#l01796">1796</a> of file <a class="el" href="cell_8cc_source.html">cell.cc</a>.</p>

</div>
</div>
<a class="anchor" id="aa2af8698ba5f2eefc14300f2ea1f6601"></a><!-- doxytag: member="voro::voronoicell_base::plane_intersects" ref="aa2af8698ba5f2eefc14300f2ea1f6601" args="(double x, double y, double z, double rs)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool voro::voronoicell_base::plane_intersects </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>rsq</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This routine tests to see whether the cell intersects a plane by starting from the guess point up. If up intersects, then it immediately returns true. Otherwise, it calls the plane_intersects_track() routine. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">(x,y,z)</td><td>the normal vector to the plane. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">rsq</td><td>the distance along this vector of the plane. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>False if the plane does not intersect the plane, true if it does. </dd></dl>

<p>Definition at line <a class="el" href="cell_8cc_source.html#l01918">1918</a> of file <a class="el" href="cell_8cc_source.html">cell.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a7ae7bf3f6bc1869d40e62a9d46b14b46"></a><!-- doxytag: member="voro::voronoicell_base::plane_intersects_guess" ref="a7ae7bf3f6bc1869d40e62a9d46b14b46" args="(double x, double y, double z, double rs)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool voro::voronoicell_base::plane_intersects_guess </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>rsq</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This routine tests to see if a cell intersects a plane. It first tests a random sample of approximately sqrt(p)/4 points. If any of those are intersect, then it immediately returns true. Otherwise, it takes the closest point and passes that to plane_intersect_track() routine. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">(x,y,z)</td><td>the normal vector to the plane. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">rsq</td><td>the distance along this vector of the plane. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>False if the plane does not intersect the plane, true if it does. </dd></dl>

<p>Definition at line <a class="el" href="cell_8cc_source.html#l01931">1931</a> of file <a class="el" href="cell_8cc_source.html">cell.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a8a7e29d041abbd58406e2c05a9a6248a"></a><!-- doxytag: member="voro::voronoicell_base::print_edges" ref="a8a7e29d041abbd58406e2c05a9a6248a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::voronoicell_base::print_edges </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Prints the vertices, their edges, the relation table, and also notifies if any memory errors are visible. </p>

<p>Definition at line <a class="el" href="cell_8cc_source.html#l02218">2218</a> of file <a class="el" href="cell_8cc_source.html">cell.cc</a>.</p>

</div>
</div>
<a class="anchor" id="ac164b3767ce186360fb3308e349e058c"></a><!-- doxytag: member="voro::voronoicell_base::print_edges_neighbors" ref="ac164b3767ce186360fb3308e349e058c" args="(int i)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void voro::voronoicell_base::print_edges_neighbors </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This a virtual function that is overridden by a routine to print the neighboring particle IDs for a given vertex. By default, when no neighbor information is available, the routine does nothing. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">i</td><td>the vertex to consider. </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented in <a class="el" href="classvoro_1_1voronoicell__neighbor.html#a868581daaec73455618629e668c92d38">voro::voronoicell_neighbor</a>.</p>

<p>Definition at line <a class="el" href="cell_8hh_source.html#l00213">213</a> of file <a class="el" href="cell_8hh_source.html">cell.hh</a>.</p>

</div>
</div>
<a class="anchor" id="a5d09c9e36ad159fcd23cfef8855cae61"></a><!-- doxytag: member="voro::voronoicell_base::reset_edges" ref="a5d09c9e36ad159fcd23cfef8855cae61" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::voronoicell_base::reset_edges </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Several routines in the class that gather cell-based statistics internally track their progress by flipping edges to negative so that they know what parts of the cell have already been tested. This function resets them back to positive. When it is called, it assumes that every edge in the routine should have already been flipped to negative, and it bails out with an internal error if it encounters a positive edge. </p>

<p>Definition at line <a class="el" href="cell_8cc_source.html#l01570">1570</a> of file <a class="el" href="cell_8cc_source.html">cell.cc</a>.</p>

</div>
</div>
<a class="anchor" id="af1a68eea414a0a52b072005af7bd710a"></a><!-- doxytag: member="voro::voronoicell_base::surface_area" ref="af1a68eea414a0a52b072005af7bd710a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double voro::voronoicell_base::surface_area </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Calculates the total surface area of the Voronoi cell. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The computed area. </dd></dl>

<p>Definition at line <a class="el" href="cell_8cc_source.html#l01370">1370</a> of file <a class="el" href="cell_8cc_source.html">cell.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a94fc0aba05c11fba465449bc1c4217e9"></a><!-- doxytag: member="voro::voronoicell_base::total_edge_distance" ref="a94fc0aba05c11fba465449bc1c4217e9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double voro::voronoicell_base::total_edge_distance </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Calculates the total edge distance of the Voronoi cell. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A floating point number holding the calculated distance. </dd></dl>

<p>Definition at line <a class="el" href="cell_8cc_source.html#l01466">1466</a> of file <a class="el" href="cell_8cc_source.html">cell.cc</a>.</p>

</div>
</div>
<a class="anchor" id="ab2c8534b380907975eb60f3441d50e1e"></a><!-- doxytag: member="voro::voronoicell_base::translate" ref="ab2c8534b380907975eb60f3441d50e1e" args="(double x, double y, double z)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::voronoicell_base::translate </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>z</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Translates the vertices of the Voronoi cell by a given vector. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">(x,y,z)</td><td>the coordinates of the vector. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="cell_8cc_source.html#l00105">105</a> of file <a class="el" href="cell_8cc_source.html">cell.cc</a>.</p>

</div>
</div>
<a class="anchor" id="aa900514b399297edb7dfc430f92716b9"></a><!-- doxytag: member="voro::voronoicell_base::vertex_orders" ref="aa900514b399297edb7dfc430f92716b9" args="(vector&lt; int &gt; &amp;v)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::voronoicell_base::vertex_orders </td>
          <td>(</td>
          <td class="paramtype">vector&lt; int &gt; &amp;&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns a vector of the vertex orders. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">v</td><td>the vector to store the results in. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="cell_8cc_source.html#l01742">1742</a> of file <a class="el" href="cell_8cc_source.html">cell.cc</a>.</p>

</div>
</div>
<a class="anchor" id="afd699f0ae6578788dac0d427efa3ad44"></a><!-- doxytag: member="voro::voronoicell_base::vertices" ref="afd699f0ae6578788dac0d427efa3ad44" args="(vector&lt; double &gt; &amp;v)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::voronoicell_base::vertices </td>
          <td>(</td>
          <td class="paramtype">vector&lt; double &gt; &amp;&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns a vector of the vertex vectors using the local coordinate system. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">v</td><td>the vector to store the results in. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="cell_8cc_source.html#l01758">1758</a> of file <a class="el" href="cell_8cc_source.html">cell.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a32e9aef70e601984105d6929543dc681"></a><!-- doxytag: member="voro::voronoicell_base::vertices" ref="a32e9aef70e601984105d6929543dc681" args="(double x, double y, double z, vector&lt; double &gt; &amp;v)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void voro::voronoicell_base::vertices </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">vector&lt; double &gt; &amp;&#160;</td>
          <td class="paramname"><em>v</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns a vector of the vertex vectors in the global coordinate system. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">v</td><td>the vector to store the results in. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">(x,y,z)</td><td>the position vector of the particle in the global coordinate system. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="cell_8cc_source.html#l01782">1782</a> of file <a class="el" href="cell_8cc_source.html">cell.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a92f69986a6f78e7b8b6d9f5778ed99ba"></a><!-- doxytag: member="voro::voronoicell_base::volume" ref="a92f69986a6f78e7b8b6d9f5778ed99ba" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double voro::voronoicell_base::volume </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Calculates the volume of the Voronoi cell, by decomposing the cell into tetrahedra extending outward from the zeroth vertex, whose volumes are evaluated using a scalar triple product. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A floating point number holding the calculated volume. </dd></dl>

<p>Definition at line <a class="el" href="cell_8cc_source.html#l01297">1297</a> of file <a class="el" href="cell_8cc_source.html">cell.cc</a>.</p>

</div>
</div>
<hr/><h2>Field Documentation</h2>
<a class="anchor" id="a2a238c710c2e91045ef9deae0faf8dc9"></a><!-- doxytag: member="voro::voronoicell_base::current_delete2_size" ref="a2a238c710c2e91045ef9deae0faf8dc9" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classvoro_1_1voronoicell__base.html#a2a238c710c2e91045ef9deae0faf8dc9">voro::voronoicell_base::current_delete2_size</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This sets the size of the auxiliary delete stack. </p>

<p>Definition at line <a class="el" href="cell_8hh_source.html#l00053">53</a> of file <a class="el" href="cell_8hh_source.html">cell.hh</a>.</p>

</div>
</div>
<a class="anchor" id="a7dbec3b0b6ea24e22e651cf76f06dc04"></a><!-- doxytag: member="voro::voronoicell_base::current_delete_size" ref="a7dbec3b0b6ea24e22e651cf76f06dc04" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classvoro_1_1voronoicell__base.html#a7dbec3b0b6ea24e22e651cf76f06dc04">voro::voronoicell_base::current_delete_size</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This sets the size of the main delete stack. </p>

<p>Definition at line <a class="el" href="cell_8hh_source.html#l00051">51</a> of file <a class="el" href="cell_8hh_source.html">cell.hh</a>.</p>

</div>
</div>
<a class="anchor" id="a14c97918200da778388673728da29274"></a><!-- doxytag: member="voro::voronoicell_base::current_vertex_order" ref="a14c97918200da778388673728da29274" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classvoro_1_1voronoicell__base.html#a14c97918200da778388673728da29274">voro::voronoicell_base::current_vertex_order</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This holds the current maximum allowed order of a vertex, which sets the size of the mem, mep, and mec arrays. If a vertex is created with more vertices than this, the arrays are dynamically extended using the add_memory_vorder routine. </p>

<p>Definition at line <a class="el" href="cell_8hh_source.html#l00049">49</a> of file <a class="el" href="cell_8hh_source.html">cell.hh</a>.</p>

</div>
</div>
<a class="anchor" id="ab0b624e4e72fca14c99bf1c41c430614"></a><!-- doxytag: member="voro::voronoicell_base::current_vertices" ref="ab0b624e4e72fca14c99bf1c41c430614" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classvoro_1_1voronoicell__base.html#ab0b624e4e72fca14c99bf1c41c430614">voro::voronoicell_base::current_vertices</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This holds the current size of the arrays ed and nu, which hold the vertex information. If more vertices are created than can fit in this array, then it is dynamically extended using the add_memory_vertices routine. </p>

<p>Definition at line <a class="el" href="cell_8hh_source.html#l00043">43</a> of file <a class="el" href="cell_8hh_source.html">cell.hh</a>.</p>

</div>
</div>
<a class="anchor" id="a85fec05865342d7efca9d9fd11b60342"></a><!-- doxytag: member="voro::voronoicell_base::ed" ref="a85fec05865342d7efca9d9fd11b60342" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int** <a class="el" href="classvoro_1_1voronoicell__base.html#a85fec05865342d7efca9d9fd11b60342">voro::voronoicell_base::ed</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This is a two dimensional array that holds information about the edge connections of the vertices that make up the cell. The two dimensional array is not allocated in the usual method. To account for the fact the different vertices have different orders, and thus require different amounts of storage, the elements of ed[i] point to one-dimensional arrays in the mep[] array of different sizes.</p>
<p>More specifically, if vertex i has order m, then ed[i] points to a one-dimensional array in mep[m] that has 2*m+1 entries. The first m elements hold the neighboring edges, so that the jth edge of vertex i is held in ed[i][j]. The next m elements hold a table of relations which is redundant but helps speed up the computation. It satisfies the relation ed[ed[i][j]][ed[i][m+j]]=i. The final entry holds a back pointer, so that ed[i+2*m]=i. The back pointers are used when rearranging the memory. </p>

<p>Definition at line <a class="el" href="cell_8hh_source.html#l00082">82</a> of file <a class="el" href="cell_8hh_source.html">cell.hh</a>.</p>

</div>
</div>
<a class="anchor" id="accebb51f721d72fc6d460f1368180571"></a><!-- doxytag: member="voro::voronoicell_base::mec" ref="accebb51f721d72fc6d460f1368180571" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int* <a class="el" href="classvoro_1_1voronoicell__base.html#accebb51f721d72fc6d460f1368180571">voro::voronoicell_base::mec</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This is a one dimensional array that holds the current number of vertices of order p that are stored in the mep[p] array. </p>

<p>Definition at line <a class="el" href="cell_8hh_source.html#l00233">233</a> of file <a class="el" href="cell_8hh_source.html">cell.hh</a>.</p>

</div>
</div>
<a class="anchor" id="aafad86ca11af64de2788637b466479f6"></a><!-- doxytag: member="voro::voronoicell_base::mem" ref="aafad86ca11af64de2788637b466479f6" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int* <a class="el" href="classvoro_1_1voronoicell__base.html#aafad86ca11af64de2788637b466479f6">voro::voronoicell_base::mem</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This a one dimensional array that holds the current sizes of the memory allocations for them mep array. </p>

<p>Definition at line <a class="el" href="cell_8hh_source.html#l00229">229</a> of file <a class="el" href="cell_8hh_source.html">cell.hh</a>.</p>

</div>
</div>
<a class="anchor" id="a2b115cbde725e468000a1da234b2fc66"></a><!-- doxytag: member="voro::voronoicell_base::mep" ref="a2b115cbde725e468000a1da234b2fc66" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int** <a class="el" href="classvoro_1_1voronoicell__base.html#a2b115cbde725e468000a1da234b2fc66">voro::voronoicell_base::mep</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This is a two dimensional array for holding the information about the edges of the Voronoi cell. mep[p] is a one-dimensional array for holding the edge information about all vertices of order p, with each vertex holding 2*p+1 integers of information. The total number of vertices held on mep[p] is stored in mem[p]. If the space runs out, the code allocates more using the add_memory() routine. </p>

<p>Definition at line <a class="el" href="cell_8hh_source.html#l00241">241</a> of file <a class="el" href="cell_8hh_source.html">cell.hh</a>.</p>

</div>
</div>
<a class="anchor" id="abc7ec6777725e0ddffbbe2ecbe81c6a1"></a><!-- doxytag: member="voro::voronoicell_base::nu" ref="abc7ec6777725e0ddffbbe2ecbe81c6a1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int* <a class="el" href="classvoro_1_1voronoicell__base.html#abc7ec6777725e0ddffbbe2ecbe81c6a1">voro::voronoicell_base::nu</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This array holds the order of the vertices in the Voronoi cell. This array is dynamically allocated, with its current size held by current_vertices. </p>

<p>Definition at line <a class="el" href="cell_8hh_source.html#l00086">86</a> of file <a class="el" href="cell_8hh_source.html">cell.hh</a>.</p>

</div>
</div>
<a class="anchor" id="a7e69469f95464afbeb9feec927507243"></a><!-- doxytag: member="voro::voronoicell_base::p" ref="a7e69469f95464afbeb9feec927507243" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classvoro_1_1voronoicell__base.html#a7e69469f95464afbeb9feec927507243">voro::voronoicell_base::p</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This sets the total number of vertices in the current cell. </p>

<p>Definition at line <a class="el" href="cell_8hh_source.html#l00056">56</a> of file <a class="el" href="cell_8hh_source.html">cell.hh</a>.</p>

</div>
</div>
<a class="anchor" id="aa4e3f22d4ff450097571e95caeda1b3d"></a><!-- doxytag: member="voro::voronoicell_base::pts" ref="aa4e3f22d4ff450097571e95caeda1b3d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double* <a class="el" href="classvoro_1_1voronoicell__base.html#aa4e3f22d4ff450097571e95caeda1b3d">voro::voronoicell_base::pts</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This in an array with size 3*current_vertices for holding the positions of the vertices. </p>

<p>Definition at line <a class="el" href="cell_8hh_source.html#l00089">89</a> of file <a class="el" href="cell_8hh_source.html">cell.hh</a>.</p>

</div>
</div>
<a class="anchor" id="a7746d94ae036439d60c3e4a9e37f6d15"></a><!-- doxytag: member="voro::voronoicell_base::up" ref="a7746d94ae036439d60c3e4a9e37f6d15" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classvoro_1_1voronoicell__base.html#a7746d94ae036439d60c3e4a9e37f6d15">voro::voronoicell_base::up</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This is the index of particular point in the cell, which is used to start the tracing routines for plane intersection and cutting. These routines will work starting from any point, but it's often most efficient to start from the last point considered, since in many cases, the cell construction algorithm may consider many planes with similar vectors concurrently. </p>

<p>Definition at line <a class="el" href="cell_8hh_source.html#l00064">64</a> of file <a class="el" href="cell_8hh_source.html">cell.hh</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="cell_8hh_source.html">cell.hh</a></li>
<li><a class="el" href="cell_8cc_source.html">cell.cc</a></li>
</ul>
</div>


<hr class="footer"/><address class="footer"><small>
Generated on Fri Sep 23 2011 22:49:07 for Voro++ by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
